﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    CodeBehind="PasswordReset.aspx.cs" Inherits="mojoPortal.Web.UI.Pages.PasswordResetPage" %>

<asp:content contentplaceholderid="leftContent" id="MPLeftPane" runat="server" />
<asp:content contentplaceholderid="mainContent" id="MPContent" runat="server">
    <portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
        <mp:CornerRounderTop ID="ctop1" runat="server" EnableViewState="false" />
        <asp:panel id="pnl1" runat="server" cssclass="panelwrapper passwordreset ">
            <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
                <div class="modulecontent">
                    <fieldset>
                        <legend>
                            <mp:SiteLabel ID="lblRegisterLabel" runat="server" ConfigKey="ChangePasswordRequired"
                                UseLabelTag="false"></mp:SiteLabel>
                        </legend>
                        <div class="settingrow">
                            <strong>
                                <mp:SiteLabel ID="SiteLabel1" runat="server" ForControl="NewPassword" ConfigKey="ChangePasswordNewPasswordLabel">
                                </mp:SiteLabel>
                            </strong>
                            <br />
                            <asp:textbox id="txtNewPassword" runat="server" textmode="password" />
                            <ajaxtoolkit:passwordstrength id="passwordStrengthChecker" runat="server" enabled="false"
                                targetcontrolid="txtNewPassword" displayposition="RightSide" strengthindicatortype="Text"
                                prefixtext="Strength:" textcssclass="pwdstrength" barbordercssclass="pwdstrengthbarborder"
                                barindicatorcssclass="pwdstrengthbar" textstrengthdescriptionstyles="pwspoor;pwsweak;pwsaverage;pwsstrong;pwsexcellent" />
                        </div>
                        <div class="settingrow">
                            <strong>
                                <mp:SiteLabel ID="SiteLabel2" runat="server" ForControl="ConfirmNewPassword" ConfigKey="ChangePasswordConfirmNewPasswordLabel">
                                </mp:SiteLabel>
                            </strong>
                            <br />
                            <asp:textbox id="txtConfirmNewPassword" runat="server" textmode="password" />
                        </div>
                        <div class="settingrow">
                            <portal:mojoButton ID="btnChangePassword" CommandName="ChangePassword" Text="Change Password"
                                runat="server" ValidationGroup="ChangePassword1" />
                        </div>
                        <div class="settingrow">
                            <asp:validationsummary id="vSummary" runat="server" validationgroup="ChangePassword1" />
                            <asp:requiredfieldvalidator controltovalidate="txtNewPassword" id="NewPasswordRequired"
                                runat="server" display="None" validationgroup="ChangePassword1">
                            </asp:requiredfieldvalidator>
                            <asp:requiredfieldvalidator controltovalidate="txtConfirmNewPassword" id="ConfirmNewPasswordRequired"
                                runat="server" display="None" validationgroup="ChangePassword1">
                            </asp:requiredfieldvalidator>
                            <asp:comparevalidator controltocompare="txtNewPassword" controltovalidate="txtConfirmNewPassword"
                                id="NewPasswordCompare" runat="server" display="None" validationgroup="ChangePassword1">
                            </asp:comparevalidator>
                            <asp:regularexpressionvalidator id="NewPasswordRegex" runat="server" controltovalidate="txtNewPassword"
                                display="None" validationgroup="ChangePassword1">
                            </asp:regularexpressionvalidator>
                            <asp:customvalidator id="NewPasswordRulesValidator" runat="server" controltovalidate="txtNewPassword"
                                display="None" validationgroup="ChangePassword1">
                            </asp:customvalidator>
                            <asp:literal id="FailureText" runat="server" enableviewstate="false" />
                        </div>
                    </fieldset>
                </div>
            </portal:mojoPanel>
            <div class="cleared">
            </div>
        </asp:panel>
        <mp:CornerRounderBottom ID="cbottom1" runat="server" EnableViewState="false" />
    </portal:mojoPanel>
</asp:content>
<asp:content contentplaceholderid="rightContent" id="MPRightPane" runat="server" />
<asp:content contentplaceholderid="pageEditContent" id="MPPageEdit" runat="server" />
